import { Component, OnInit } from '@angular/core';
import { Router }  from '@angular/router';
import { User } from '../../model/user-model';


@Component({
  selector: 'app-login',
  templateUrl: './login.component.html',
  styleUrls: ['./login.component.css']
})
export class LoginComponent implements OnInit {
  isLogin:any;
  constructor(private _router: Router ){}
  user:Object = {"username":"","password":""};

  ngOnInit(){
 
  }


  login():void{
    
    this._router.navigateByUrl('/page');

  }

}
